package cn.javass.dp.chianofresponsibility.example6;

public abstract class SaleHandle {

    protected SaleHandle successor = null;

    public void setSuccessor(SaleHandle successor) {
        this.successor = successor;
    }

    /**
     * 处理保存销售信息的方法
     * @param user
     * @param customer
     * @param saleModel
     * @return
     */
    public abstract boolean sale(String user, String customer, SaleModel saleModel);
}
